Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.05 KB

File metadata and controls

33 lines (22 loc) · 1.05 KB

Wasted Variable Definition

Definition:

  • A variable is defined and defined again before it is read.

Also Known As:

  • DD Data Flow Anomaly

Code Example:

function f ( in integer i , out integer j ) {
  var integer k := 1 ;
  k := i ;
  j := k ;
}

References:

Quality attributes